package org.kuangstudy.kpcode.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 飞哥
 * @Title: 学相伴出品
 * @Description: 飞哥B站地址：https://space.bilibili.com/490711252
 * 记得关注和三连哦！
 * @Description: 我们有一个学习网站：https://www.kuangstudy.com
 * @date 2021/12/26 18:12
 */
@Data
@Component
@ConfigurationProperties(prefix = "org.kaptcha")
public class KaptchaProperties {
    private Integer imageWidth = 100;
    private Integer imageHeight = 40;
    private Integer textFontSize = 32;
    private String sessionKey = "code";
    private String textColor = "0,0,0";
    private String textCharStr = "0123456789ABCEFGHIJKLMNOPQRSTUVWXYZ";
    private Integer textLen = 4;
    private String noiseImpl = "com.google.code.kaptcha.impl.NoNoise";
}
